<%@ page contentType="text/html;charset=UTF-8" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<%@ include file="/common/hallimport.jsp" %>
<link href="${ctx}/css/hall.css" rel="stylesheet">
<link href="${ctx}/css/web_style.css" rel="stylesheet">
<script src="${ctx}/js/web/tab.js"></script>
<script src="${ctx}/js/layer/layer.js"></script>
<title>采购标的-采购大厅</title>
</head>
<body>
<%@ include file="/common/halltop_caigou.jsp" %>
<div  id="content" class="fixedw">
	 <!-- 公告 -->
  <div class="main">
  <div class="left">
  <h5 class="con_title"><span></span> 采购公告  </h5>
	<!-- 搜索开始 -->
     <div class="searchForm">
     <form id="contentList_form">
		<input type="hidden" name="page"  value="1">
		<input type="hidden" name="rows"  value="12" id="rows">
		<input type="hidden" name="contentType"  value="采购公告">
		<input type="hidden" name="methodKey"  value="contentList">
		<input type="hidden" name="tag"  value="div">
		
		
		<input type="text" name="title"  value=""  tip="公告名称" placeholder="公告名称" /><a class="searchbtn" iconCls="icon-search" onclick="contentListSearch();">查询</a>
	</form>
	</div>
	<!-- 搜索结束 -->
	 <div class="flcon" id="flcon">
	 <ul class="img_list" id="contentList_div"></ul>
	 </div>
     <script type="text/template" id="contentList_div_html">
		<? for ( var i = 0; i < rows.length; i++) {?>
		<p><?=(i+1)?>.<a href="/admin/hall/content/<?=rows[i].infoId?>" ><?=rows[i].title?></a> &nbsp;&nbsp; [<?=rows[i].createTime?>]</p>
		<?}?> 
		</script>
	<div id="contentList_page" class="web_pages"></div>
	
</div>
<div class="right">
<h5 class="con_title"><span></span> 最新活动</h5>
	<form id="sessionList_form">
		<input type="hidden" name="page"  value="1">
		<input type="hidden" name="rows"  value="10">
		<input type="hidden" name="status"  value="2">
		<input type="hidden" name="direction"  value="F">
		<input type="hidden" name="methodKey"  value="sessionList">
		<input type="hidden" name="tag"  value="div">
	</form>
	<div class="tj_box" id="sessionList_div"></div>
       <script type="text/template" id="sessionList_div_html">
	       <? for ( var i = 0; i < rows.length; i++) {?>
			  <dl>
                <dt><a href="#"><img src="<?=strUtil.doNull(rows[i].picUrl,'${ctx}/images/def.jpg')?>"/></a></dt>
				<dd>
				<h5><a href="${ctx}/admin/hall/session/<?=rows[i].sessionId?>" title="<?=rows[i].sessionName?>"><?=strUtil.subStr(rows[i].sessionName,10)?></a></h5>
				<p>当前状态：<span><?=sessionStatusText(rows[i].status)?></span></p>
          		<p>开始时间：<span class="time"><?=rows[i].openTime?></span></p>
                </dd>
			  </dl>
		  <?}?> 
	   </script>
	   <div class="r_more"><a href="/sendPage/hall/sessionList">查看更多活动>></a></div>
   </div>
  </div>
</div>
<%@ include file="/common/hallbottom.jsp" %>
</body>
</html>

<script>
var itermIds = "";
//打开查看页面


//查询提交
function contentListSearch(){
    searchSubmit("hall","contentList");
	//getContentList("content_notice_more_list","","","交易公告");
}
//查询提交
function sessionListSearch(){
	searchSubmit("session","sessionList");
}



//初始化加载
$(function(){
	//加载分页列表
	contentListSearch();
	sessionListSearch();
	
});

</script>

